package com.itheima.health.service;

import com.itheima.health.dto.CheckGroupDTO;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.result.PageResult;
import com.itheima.health.result.QueryPageBean;

import java.util.List;

public interface CheckGroupService {
    PageResult pageQuery(QueryPageBean queryPageBean);


    void add(CheckGroup checkGroup, Integer[] checkitemIds);

    void deleteById(Integer id);


    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);


    void edit(CheckGroup checkGroup, Integer[] checkitemIds);

    List<CheckGroup> findAll();
}
